package model;

/**
 * The Class ViewPhotoWithLayerModel.
 * @author Dmitry
 */
public class ViewPhotoWithLayerModel {

	/** The photo. */
	private SearchPhotoModel thePhoto;
	
	/** The layer. */
	private LayerModel theLayer;
	
	/**
	 * Instantiates a new view photo with layer model.
	 *
	 * @param thePhoto photo's details
	 * @param theLayer layer's details
	 */
	public ViewPhotoWithLayerModel(SearchPhotoModel thePhoto,LayerModel theLayer){
		this.thePhoto = thePhoto;
		this.theLayer = theLayer;
	}

	/**
	 * Gets photo's details.
	 *
	 * @return SearchPhotoModel - photo's details class
	 */
	public SearchPhotoModel getThePhoto() {
		return thePhoto;
	}

	/**
	 * Gets layer's details.
	 *
	 * @return LayerModel - layer's detail class
	 */
	public LayerModel getTheLayer() {
		return theLayer;
	}
	
	
}
